package com.demo.structural.proxy;

public class Lawyer implements Appeal{
	
	private Client client;
	
	public Lawyer(Client client){
		this.client = client;
	}

	public void write() {
		System.out.println("lawyer write");
		client.write();
	}

	public void talk() {
		System.out.println("lawyer talk");
		client.talk();
	}

}
